package com.fqgj.sentry.policy.engine.domain;

import java.io.Serializable;

/**
 * Created by kennykong on 2017/7/14.
 */
public class RuleResult implements Serializable {

    /**
     * 规则得分
     */
    private Double score;
    /**
     * 权重得分
     */
    private Double weightScore;
    /**
     * 是否击中
     */
    private Boolean isHit;
    /**
     * 决策结果
     */
    private Decision decision;

    public Boolean getHit() {
        return isHit;
    }

    public void setHit(Boolean hit) {
        isHit = hit;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }


    public Decision getDecision() {
        return decision;
    }

    public void setDecision(Decision decision) {
        this.decision = decision;
    }

    public Double getWeightScore() {
        return weightScore;
    }

    public RuleResult setWeightScore(Double weightScore) {
        this.weightScore = weightScore;
        return this;
    }
}
